<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
<html>
<head>
    <title>Spring MVC表单处理</title>
</head>
<body>

<h2>Student Information</h2>
<form method="POST" action="/maven-mvc/addStudent" >
   <table>
    <tr>
        <td>名字：</td>
        <td><input type="text" name="name"></td>
    </tr>
    <tr>
        <td>年龄：</td>
        <td><input type="text" name="age"></td>
    </tr>
    <tr>
        <td>ID：</td>
        <td><input type="text" name="id"></td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="submit" value="提交表单"/>
        </td>
    </tr>
</table>  
</form>


<form method="POST" modelAttribute="fileUpload" action="/maven-mvc/fileUploadPage"
        enctype="multipart/form-data">
      请选择一个文件上传 : 
      <input type="file" name="file" />
        <input type="submit" value="提交上传" />
    </form>
</body>
</html>